package com.his.pojos;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;


/**
 * The persistent class for the HIS_LEAVEHOSPITAL database table.
 * 
 */
@Entity
@Table(name="HIS_LEAVEHOSPITAL")
@NamedQuery(name="HisLeavehospital.findAll", query="SELECT h FROM HisLeavehospital h")
public class HisLeavehospital implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="CY_NO")
	@SequenceGenerator(sequenceName="cyno", name="cyno",initialValue=1, allocationSize=1)
	@GeneratedValue(generator = "cyno")
	private long cyNo;

	@Column(name="BQ_NO")
	private BigDecimal bqNo;

	@Column(name="BR_NO")
	private BigDecimal brNo;

	@Temporal(TemporalType.DATE)
	@Column(name="CY_DATE")
	private Date cyDate;

	@Column(name="TZ_STATE")
	private BigDecimal tzState;

	@Column(name="YG_NO")
	private BigDecimal ygNo;

	@Column(name="YLK_NO")
	private BigDecimal ylkNo;

	public HisLeavehospital() {
	}

	public long getCyNo() {
		return this.cyNo;
	}

	public void setCyNo(long cyNo) {
		this.cyNo = cyNo;
	}

	public BigDecimal getBqNo() {
		return this.bqNo;
	}

	public void setBqNo(BigDecimal bqNo) {
		this.bqNo = bqNo;
	}

	public BigDecimal getBrNo() {
		return this.brNo;
	}

	public void setBrNo(BigDecimal brNo) {
		this.brNo = brNo;
	}

	public Date getCyDate() {
		return this.cyDate;
	}

	public void setCyDate(Date cyDate) {
		this.cyDate = cyDate;
	}

	public BigDecimal getTzState() {
		return this.tzState;
	}

	public void setTzState(BigDecimal tzState) {
		this.tzState = tzState;
	}

	public BigDecimal getYgNo() {
		return this.ygNo;
	}

	public void setYgNo(BigDecimal ygNo) {
		this.ygNo = ygNo;
	}

	public BigDecimal getYlkNo() {
		return this.ylkNo;
	}

	public void setYlkNo(BigDecimal ylkNo) {
		this.ylkNo = ylkNo;
	}

}